Skip to content

refactor(electron-titlebar): use relative units for electron-titlebar#1870

Merged
dr-itz merged 1 commit intomainfrom
feat/electron-titlebar-relative-sizing
Apr 21, 2026
Merged

refactor(electron-titlebar): use relative units for electron-titlebar#1870
dr-itz merged 1 commit intomainfrom
feat/electron-titlebar-relative-sizing

Conversation

@spliffone
Copy link
Copy Markdown
Member

@spliffone spliffone commented Apr 15, 2026

@spliffone spliffone requested review from a team as code owners April 15, 2026 05:15
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the $si-titlebar-height variable from pixels to rem units. While the conversion is accurate, it introduces a unit inconsistency with adjacent layout variables like $si-application-header-height and $si-system-banner-height. It is recommended to convert all related layout dimensions in this block to relative units to ensure consistent scaling across the application.

Comment thread projects/element-theme/src/styles/variables/_si-vars.scss Outdated
@spliffone spliffone added the enhancement Topics that make the project better label Apr 15, 2026
@spliffone spliffone added this to the 49.x milestone Apr 15, 2026
@spliffone spliffone force-pushed the feat/electron-titlebar-relative-sizing branch from bb63c41 to 5e1ac65 Compare April 21, 2026 09:23
Comment thread projects/element-theme/src/styles/variables/_si-vars.scss Outdated
@spliffone spliffone force-pushed the feat/electron-titlebar-relative-sizing branch from 689277c to 7116e74 Compare April 21, 2026 12:39
@dr-itz dr-itz added this pull request to the merge queue Apr 21, 2026
@dr-itz
Copy link
Copy Markdown
Contributor

dr-itz commented Apr 21, 2026

LGTM 👍

Merged via the queue into main with commit 09f00e5 Apr 21, 2026
11 checks passed
@dr-itz dr-itz deleted the feat/electron-titlebar-relative-sizing branch April 21, 2026 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Topics that make the project better

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants